package network;

import java.io.Serializable;

public class SocketData implements Serializable{
	static final long serialVersionUID = 100000;
	
	String command;
	String message;
	String user;
	Object obj;
	int index;
		
	

	public SocketData(String c, String u, String m, Object o) {
		this.command=c;
		this.message=m;
		this.user=u;
		this.obj=o;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}
	
	public String getCommand() {
		return command;
	}

	public void setCommand(String command) {
		this.command = command;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getUser() {
		return user;
	}

	public void setUser(String user) {
		this.user = user;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}

	
}
